package org.example.demo17_responsibility;

public class Chairman extends Handler{

    public Chairman() {
        super(0,Handler.NUM_ONE);
    }

    @Override
    protected void handlerRequest(PurchaseOrder purchaseOrder) {
        System.out.println(purchaseOrder.getName() + "采购" + purchaseOrder.getContent() + "价钱："
                + purchaseOrder.getPrice() + "元");
        System.out.println("主任签字同意");
    }
}
